import store from '../store'
import * as Req from '@/api/index.js'
import { BASE_URL } from '@/api/base'

export function GetCurrContractInfo(data) {
  return Req.Get(`${BASE_URL}/BusinessOverviewAPI/GetCurrContractInfo`, data)
    .then((res) => {
      return Promise.resolve(res)
    }).catch((err) => {
      console.log(err.response)
    })
}
export function GetProjectOverview(data) {
  return Req.Get(`${BASE_URL}/BusinessOverviewAPI/GetProjectOverview`, data)
    .then((res) => {
      return Promise.resolve(res)
    }).catch((err) => {
      console.log(err.response)
    })
}